import request from '@/utils/request/base'

// 构建表单
export function BUILD_FORM(data={}) {
    return request({
      url: "/general/build/form",
      method: 'POST',
      data
    })
}

// 品牌列表
export function BRAND_LIST(params,id) {
    return request({
      url: `brands/${id}`,
      method: 'get',
      params
    })
}

// 品牌上下架
export function BRAND_STATUS(data,id) {
    return request({
      url: `brand/display/status/${id}`,
      method: 'PUT',
      data
    })
  }